package com.ecoolex.ying.space.ws;

import com.ecoolex.framework.common.exception.BizException;
import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.framework.common.pojo.Pagination;
import com.ecoolex.framework.common.pojo.Sorting;
import com.ecoolex.ying.space.entity.Feedback;
import com.ecoolex.ying.space.pojo.AddFeedbackDTO;
import com.ecoolex.ying.space.pojo.EditFeedbackDTO;
import com.ecoolex.ying.space.pojo.QueryFeedbackDTO;

public interface FeedbackService {
    
    Feedback getFeedbackById(Integer id);

    Feedback addFeedback(AddFeedbackDTO record, String createUser) throws BizException;

    Feedback updateFeedback(EditFeedbackDTO record, String updateUser) throws BizException;

    Pagination<Feedback> queryFeedback(QueryFeedbackDTO query, Sorting[] sorts, Page page);

}
